package com.danceforyou.payment.model;

import com.danceforyou.common.model.BaseDO;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 类名称：PaymentDO
 * 创建人：danceforyou
 * 创建时间：2021年02月05日
 * 版本号：1.0v
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class PaymentDO extends BaseDO<Long> {

    /*排期ID（引用yw_order表主键）*/
    private Long orderId;
    /*付款账户*/
    private String payAccount;
    /*付款金额*/
    private BigDecimal payMoney;
    /*收方名称*/
    private String recName;
    /*收方账号*/
    private String recAccount;
    /*收方开户行*/
    private String recBank;
    /*申请人ID*/
    private Long createUserId;
    /*申请时间*/
    private Date createDate;
    /*申请事由*/
    private String createDesc;
    /*审核人ID*/
    private Long auditUserId;
    /*审核时间*/
    private Date auditDate;
    /*审核意见*/
    private String auditDesc;
    /*支付人ID*/
    private Long payUserId;
    /*支付时间*/
    private Date payDate;
    /*支付备注*/
    private String payDesc;
    /*状态（1-待审核，2-审核不通过，3-审核通过，4-支付完成）*/
    private Integer status;
    /*是否删除*/
    private Boolean isDelete;
}